package org.example.mapper;

import org.example.pojo.Door;
import org.example.pojo.Order;

import java.util.List;

public interface OrderMapper {
    List<Order> getAllOrder();

    void addOrder(Order order);

    void deleteOrder(Integer id);

    Order getOrder(Integer id);

    void update(Order order);
}
